package jp.java.test1.pkg20_29.test22;

public class Main {

	public static void main(String[] args) {
		new A();
	}	

}

class A {
	public A() {
		new B();
	}
	public class B {
		public B() {
			System.out.println("A");
		}
	}
}

class B {
	public B() {
		System.out.println("B");
	}
}